package com.platform.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.platform.dao.OperateLogDao;
import com.platform.entity.OperateLogEntity;
import com.platform.service.OperateLogService;

/**
 * 审核日志Service实现类
 *
 * @author LarkerJin
 * @email 277901879@qq.com
 * @date 2019-03-10 09:46:05
 */
@Service("operateLogService")
public class OperateLogService {
    @Autowired
    private OperateLogDao operateLogDao;

    public OperateLogEntity queryObject(Integer id) {
        return operateLogDao.queryObject(id);
    }

    public List<OperateLogEntity> queryList(Map<String, Object> map) {
        return operateLogDao.queryList(map);
    }

    public int queryTotal(Map<String, Object> map) {
        return operateLogDao.queryTotal(map);
    }

    public int save(OperateLogEntity operateLog) {
        return operateLogDao.save(operateLog);
    }

    public int update(OperateLogEntity operateLog) {
        return operateLogDao.update(operateLog);
    }

    public int delete(Integer id) {
        return operateLogDao.delete(id);
    }

    public int deleteBatch(Integer[] ids) {
        return operateLogDao.deleteBatch(ids);
    }
}
